package com.jk.common.oss;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
public class OssProperties {

    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
    private String url;

    private String ramAccessKeyId;
    private String ramAccessKeySecret;
    private String ramRoleArn;
    private String ramRoleSessionName;

}